package com.train.trainmanage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.train.trainmanage.model.DailyPlanTrainModel;

@Mapper
public interface DailyPlanTrainModelMapper {
    int deleteByPrimaryKey(Integer id);
    
    int deleteAll();

    int insert(DailyPlanTrainModel record);

    int insertSelective(DailyPlanTrainModel record);

    DailyPlanTrainModel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DailyPlanTrainModel record);

    int updateByPrimaryKey(DailyPlanTrainModel record);
    
    List<DailyPlanTrainModel> listByMap(Map<String,Object> map);
}